sort SOURCES and HEADERS in build.
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Thu, 25 Nov 2021 16:37:57 +0000 (08:37 -0800)
committertsteven4 <13596209+tsteven4@users.noreply.github.com>
Thu, 25 Nov 2021 16:37:57 +0000 (08:37 -0800)
this gives a reasonable initial project view in Xcode.
this gives a resaonable order to compilation.

CMakeLists.txt
GPSBabel.pro

index 4e12d001388c1792fb1fd3a3a1013e28069e269c..dc3656fcab224d33db59142a60fdc1757740df7c 100644 (file)
@@ -277,6 +277,9 @@ set(SOURCES
   ${SOURCES} ${ALL_FMTS} ${FILTERS} ${SUPPORT} ${SHAPE} ${ZLIB} ${JEEPS} ${RESOURCES}
 )
 
+list(SORT SOURCES)
+list(SORT HEADERS)
+
 # We don't care about stripping things out of the build.  Full monty, baby.
 add_definitions(-DMAXIMAL_ENABLED)
 add_definitions(-DFILTERS_ENABLED)
index 00bc8d03cc4e8df0851db5128c03518eb151e193..e2f3a848c8757b189c330ac11ba98ebfb77a64a2 100644 (file)
@@ -266,6 +266,9 @@ include(libusb.pri)
 
 SOURCES += $$ALL_FMTS $$FILTERS $$SUPPORT $$JEEPS
 
+SOURCES = $$sorted(SOURCES)
+HEADERS = $$sorted(HEADERS)
+
 # We don't care about stripping things out of the build.  Full monty, baby.
 DEFINES += MAXIMAL_ENABLED
 DEFINES += FILTERS_ENABLED